#ifndef __SNAPSHOT_H__
#define __SNAPSHOT_H__

#define CAMREA_IP_SIZE 46
#define USERNAME_SIZE  30
#define PASSWORD_SIZE  30

typedef struct {
    char cameraip[CAMREA_IP_SIZE];
    char usrname[USERNAME_SIZE];
    char password[PASSWORD_SIZE];
} user_camera_login_info;

#define USERNAME "admin"      // max size 30
#define PASSWORD "ND258369@"  // max size 30

#ifdef __cplusplus
extern "C" {
#endif

bool capture_snapshot(char *file_name, user_camera_login_info *camera_info);

#ifdef __cplusplus
}
#endif

#endif  // !__SNAPSHOT_H__
